package com.erli.exchange.common.sg.mapper;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Setter;

//<trim prefix = "(" suffix=")" suffixOverrides=",">
//<if test="databaseName != null and databaseName != '' " >
//    database_name,
//</if>
//<if test="databaseRemark != null and databaseRemark != '' ">
//    database_remark,
//</if>
//<if test="createTime != null ">
//    create_time,
//</if>
//<if test="updateTime != null ">
//    update_time,
//</if>
//<if test="createUserId != null and createUserId != '' ">
//    create_user_id,
//</if>
//<if test="updateUserId != null and updateUserId != '' ">
//    update_user_id,
//</if>
//</trim>
@Setter
@AllArgsConstructor
@NoArgsConstructor
@XmlRootElement(name = "trim")
public class Trim {

	@XmlAttribute
	private String prefix;
	@XmlAttribute
	private String suffix;
	@XmlAttribute
	private String suffixOverrides;

	@XmlElement(name = "if")
	private List<If> ifList;
}
